package com.cat.model.common.model.common;

import java.math.BigDecimal;
import java.util.Date;

import com.cat.model.common.model.base.ModelBaseVOLong;

public class BasOrderVO extends ModelBaseVOLong{
	/**
	 * 
	 */
	private static final long serialVersionUID = -281492315713346504L;
	
	private String orderNumber;
	private Long userId;
	
	private Date createTime;
	private String status;//订单状态(未付、已付)
	//商品信息
	private Long subjectId;//商品id
	private String subjectName;//商品名称
	private String subjectType;//商品类型
	private Integer subjectNum;//商品数量
	private BigDecimal totalAmount;//总金额
	private BigDecimal unitAmount;//单价
		
	//关联业务
	private Long refBizId;
	private String refBizCode;
	private String refBizName;
	
	//收货地址
	private String name;
	private String phoneNo;
	private String zipCode;
	private String address;
	
	//付款信息
	private String payType;//支付方式(微信、支付宝)
	private Date payTime;//支付时间
	
	//交易号
	private String tradeNo;
		
	@Override
	protected String table() {
		return "bas_order";
	}

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Long getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public String getSubjectType() {
		return subjectType;
	}

	public void setSubjectType(String subjectType) {
		this.subjectType = subjectType;
	}

	public Integer getSubjectNum() {
		return subjectNum;
	}

	public void setSubjectNum(Integer subjectNum) {
		this.subjectNum = subjectNum;
	}

	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	public BigDecimal getUnitAmount() {
		return unitAmount;
	}

	public void setUnitAmount(BigDecimal unitAmount) {
		this.unitAmount = unitAmount;
	}

	public Long getRefBizId() {
		return refBizId;
	}

	public void setRefBizId(Long refBizId) {
		this.refBizId = refBizId;
	}

	public String getRefBizCode() {
		return refBizCode;
	}

	public void setRefBizCode(String refBizCode) {
		this.refBizCode = refBizCode;
	}

	public String getRefBizName() {
		return refBizName;
	}

	public void setRefBizName(String refBizName) {
		this.refBizName = refBizName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	
}
